@import "_vars.less";
@import "_user_center.less";

html,body{
  font-family: @fonts;
  font-size: @size;
  width:100%;
  background-color: @shade;
}

*{
  margin:0;
  padding:0;
}

a{
  text-decoration: none;
}
div.header{
  height:60px;
  border-bottom: 1px solid @shade;
  margin-left:auto;
  margin-right:auto;
  background-color: white;
  width:100%;

}

div.header span.header-content{
  //flex布局，开始作死。
  display: flex;
  flex-flow:row;
  -webkit-flex-flow:row;
  align-items: center;
  -webkit-align-items: center;

  margin-left:(100px-24px);
  margin-right:(100px-24px);
  height:100%;
  line-height:100%;
}

span.header-item{
  display: flex;
  flex:1;
  height:100%;
  align-items: center;
}

span.search{
  flex:2;
}
input#search{
  width:300px;
  height:40px;
  border:none;
  font-size:0.96em;
  color:@info;
  background-color: #f8f3f0;
  padding-left:10px;
  font-family: "微软雅黑", "Hiragino Sans GB";
  justify-content: space-between;
}

span#logo{
  flex:0 75px;
  margin-left:24px;
  margin-right: 40px;
}

#logo img{
  height:60px;
}

span#mode-select{
  flex:0 200px;
  margin-right:100px;

  @height :30px;
  a{
    display: inline-block;
    margin-right:20px;
    height:@height;
    border:none;
    width:100px;
    font-family: @fonts;
    font-size:15px;
    text-decoration: none;
    text-align: center;
    line-height:@height;
    color:@info;
  }

  a.current-sel{
    color:white;
    background-color: @info;
  }
}
